extends Spatial

var lights=[]
var baseRanges=[]
# Called when the node enters the scene tree for the first time.
func _ready():
	lights=get_children()
	for light in lights:
		baseRanges.append(light.omni_range)
func _process(delta):
	light.omni_range=base*(SoundEnergy.scale1)


